<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/include/jstl.jsp"%>
<script language="javascript">
	function aaa()
	{
		var filetype = $("#fileType").val();
		if(filetype=="added")
		{
			document.getElementById("dl1").style.display="block";
			alert("请选择被补充交易报文");
		}
		else
		{
			document.getElementById("dl1").style.display="none";
		}
		
	}
</script>
<h2 class="contentTitle" style="background-color:#E8F1FD;">生成报告文件</h2>
<div class="pageContent" style="background-color:#E8F1FD;">
	<form method="post" action="S540803.stp"
		onsubmit="return validateCallback(this, navTabAjaxDone)"
		class="pageForm required-validate">
		<div class="pageFormContent nowrap" layoutH="87">
			<dl>
				<dt>生成报文类型：</dt>
				<dd>
					<select id="fileType" name="fileType" onchange="aaa()">
						<option value="deals">可疑交易报文</option>
						<option value="behavior">可疑行为报文</option>
						<option value="added">补充交易报文</option>
					</select>
				</dd>
			</dl>
			<dl id= "dl1" style="display:none;">
				<dt>被补充交易报文</dt>
				<dd>
				<input class="textInput readonly" id="FILENAME" name="FILENAME" size="40" value="" readonly="" type="text">
				<input  type="hidden" id="FileId"  name="FileId" size="40" value="${ETF.RULE_CODE_CODE}" readonly/>    
					<a class="btnLook" id="ddd" title="被补充交易报文查询" href="S540806.stp" lookupgroup="orgLookup" ></a>
				</dd>
			</dl>
			<dl>
				<dt>报告机构名称</dt>
				<dd>
					<input class="required textInput" name="RINM" id="RINM" type="text"
						maxlength="120" />
				</dd>
			</dl>
			<dl>
				<dt>支付机构的银行账号</dt>
				<dd>
					<input class="required textInput" name="CPBA" id="CPBA" type="text"
						maxlength="120" />
				</dd>
			</dl>
			<dl>
				<dt>支付机构的银行账号的开户银行名称</dt>
				<dd>
					<input class="required textInput" name="CPBN" id="CPBN" type="text"
						maxlength="120" />
				</dd>
			</dl>
			<dl>
				<dt>报告机构所在地区编码:</dt>
				<dd>
					<input class="digits required textInput" name="FIRC" id="FIRC"
						type="text" minlength="6" maxlength="6" />
				</dd>
			</dl>
			<dl>
				<dt>报告机构网点代码:</dt>
				<dd>
					<input class="required textInput" name="FICD" id="FICD" type="text"
						maxlength="32" />
				</dd>
			</dl>
			<dl>
				<dt>报送次数标志:</dt>
				<dd>
					<input type="text" name="RFSG" id="RFSG" class="required textInput"
						maxlength="2" value="1" />
				</dd>
			</dl>
			<dl>
				<dt>初次报送的可疑交易报文名称:</dt>
				<dd>
					<input class="required textInput" name="ORXN" id="ORXN" type="text"
						maxlength="32" value="1" />
				</dd>
			</dl>
			<dl>
				<dt>可疑交易处理情况:</dt>
				<dd>
					<select name="SSTM" id="SSTM">
						<option value="01">报送中国反洗钱监测分析中心</option>
						<option value="02">报送中国反洗钱监测分析中心和人民银行当地分支机构</option>
						<option value="03">报送中国反洗钱监测分析中心和当地公安机关</option>
						<option value="04">报送报送中国反洗钱监测分析中心、人民银行当地分支机构和当地公安机关</option>
					</select>
				</dd>
			</dl>
			<dl>
				<dt>可疑交易特征:</dt>
				<dd>
					<select name="STCR" id="STCR">
						<option value="01">仅涉嫌洗钱</option>
						<option value="02">仅涉嫌恐怖融资</option>
						<option value="03">同时涉嫌洗钱和恐怖融资</option>
					</select>
				</dd>
			</dl>
			<dl>
				<dt>可疑交易描述:</dt>
				<dd>
					<textarea rows="2" cols="80" name="SSDS" id="SSDS" class="required textInput" maxlength="500"></textarea>
				</dd>
			</dl>
			<dl>
			<dt>机构自定可疑交易标准编号:</dt>
			<dd><input class="required textInput" name="UDSI" id="UDSI"
						type="text" maxlength="4"/></dd>
			</dl>
			<dl>
				<dt>交易查询日期</dt>
				<dd>
					<input type="text" name="startDate" class="date" readonly="true"
						value="" /> &nbsp; ~&nbsp;&nbsp; <input type="text"
						name="endDate" class="date" readonly="true" value="" />
				</dd>
			</dl>
		</div>

		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">生成</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="reset">重置</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">返回</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div>

